package com.study;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.turbine.EnableTurbine;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * 被监控的服务加了managemen.server.port = 8090; server.port = 8082; server.servlet.context-path= /ribbon;
 *              eureka.instance.metadata-map.management.port =8090
 * 将eureka的port与 服务本身的port区分开
 *没加eureka.instance.home-page-url-path，，则turbin需要配置instanceUrlSuffix
 *
 */
@SpringBootApplication
@EnableTurbine
public class TurbineApp3 {
	
	public static void main(String[] args) {
		SpringApplication application = new SpringApplication(TurbineApp3.class);
		ConfigurableApplicationContext context = application.run(args);
		
		
		System.out.println("============end=======================");
	}

}
